@import "common.less";
@import "../icons/iconfont.css";

@borde-color:#e9e9e9;
@primary-color: #16a1e0;

body,
html {
  position: relative;
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
}

.content {
  position: relative;
  z-index: 9999;
  width: 750 * @rem;
  margin: 0 auto;
  min-height: 100%;
  padding-bottom: 190 * @rem;
  box-sizing: border-box;
}

.header {
  color: #fff;
  width: 750 * @rem;
  height: 90 * @rem;
  background-color: #16a1e0;
  margin: 0 auto;
  position: relative;
  .btnback {
    .fontSize(16px);
    position: absolute;
    top: 50%;
    left: 15 * @rem;
    transform: translateY(-50%);
    color: #fff;
  }
  h2 {
    text-align: center;
    color: #fff;
    .fontSize(16px);
    line-height: 90 * @rem;
  }
}

.tab-bar {
  margin-top: 20 * @rem;
  padding: 0 30 * @rem;
  margin-bottom: 10 * @rem;
  ul {
    display: flex;
    border: 1px solid #e7e7e7;
    height: 70 * @rem;
    line-height: 70 * @rem;
    border-radius: 10 * @rem;
    li {
      flex: 1;
      text-align: center;
      color: #666;
      a {
        color: #666;
        .fontSize(14px)
      }
    }
    li.active {
      background-color: @primary-color;
      a {
        color: #fff;
      }
    }
  }
}
.login-main {
  margin: 0 auto;
  padding: 0 30 * @rem;
  background-color: #fff;
  .login-form {
    height: 100%;
    padding-top: 30 * @rem;
    box-sizing: border-box;
    background-color: #fcfbfb;
    text-align: center;
    border-radius: 15 * @rem;
    .input-item {
      position: relative;
      height: 80 * @rem;
      width: 656 * @rem;
      line-height: 80 * @rem;
      box-sizing: border-box;
      border: 1px solid @borde-color;
      -webkit-border-radius: 8 * @rem;
      margin: 0 auto 40 * @rem;
      overflow: hidden;
      .txt {
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        display: block;
        background: #ffffff;
        text-indent: 30 * @rem;
        font-family: PingFangSC-Regular;
        .fontSize(14px);
        color: #333333;
        box-sizing: border-box;
      }
      .errTip {
        position: absolute;
        height: 100%;
        width: 100%;
        background-color: #fff;
        top: 0;
        right: 0;
        text-align: right;
        padding-right: 15 * @rem;;
        color: red;
        display: none;
      }
      .errTip.formatter {
        width: auto;
      }
      .errTip.same {
        width: auto;
      }
    }
    input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
      color: #ccc;
      .fontSize(14px);
    }
    .byWay {
      display: none;
    }
    .byWay.byCode {
      display: block;
    }
    .byCode.input-item {
      border: none;
    }
    .byCode {
      height: 80 * @rem;
      width: 656 * @rem;
      margin: 0 auto;
      margin-bottom: 40 * @rem;
      overflow: visible;
      .left {
        position: relative;
        box-sizing: border-box;
        height: 100%;
        border: 1px solid @borde-color;
        -webkit-border-radius: 8 * @rem;
        overflow: hidden;
      }
      .tel {
        height: 80 * @rem;
        width: 380 * @rem;
        background: #ffffff;

        -webkit-border-radius: 8 * @rem;
        text-indent: 30 * @rem;
        font-family: PingFangSC-Regular;
        .fontSize(14px);
        color: #333333;
        padding: 30*@rem 0;
        box-sizing: border-box;
      }
      .messgae-btn {
        width: 250 * @rem;
        height: 80 * @rem;
        border: 1px solid @borde-color;
        -webkit-border-radius: 8px;
        background: #fff;
        font-family: "PingFangSC-Regular";
        .fontSize(14px);
        color: #666;
        box-sizing: border-box;
        line-height: 80 * @rem;
        box-sizing: border-box;
      }
    }
    .radio-group {
      margin-bottom: 20 * @rem;
      height: 40 * @rem;
      position: relative;
      .fontSize(12px);
      .radio {
        color: #606266;
        font-weight: 500;
        line-height: 1;
        position: relative;
        cursor: pointer;
        display: inline-block;
        white-space: nowrap;
        outline: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        .radio__input {
          white-space: nowrap;
          cursor: pointer;
          outline: none;
          display: inline-block;
          line-height: 1;
          position: relative;
          vertical-align: middle;
          .radio__inner {
            border: 1px solid #dcdfe6;
            border-radius: 100%;
            width: 26 * @rem;
            height: 26 * @rem;
            background-color: #fff;
            position: relative;
            cursor: pointer;
            display: inline-block;
            box-sizing: border-box;
          }
          .radio__original {
            opacity: 0;
            outline: none;
            position: absolute;
            z-index: -1;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: 0;
          }
          .radio__inner:after {
            width: 12 * @rem;
            height: 12 * @rem;
            border-radius: 100%;
            background-color: #fff;
            content: "";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: transform .15s ease-in;
          }
        }
        .radio__input.is-checked + .radio__label {
          color: #409eff;
        }
        .radio__label {
          .fontSize(12px);
        }
        .radio__input.is-checked .radio__inner:after {
          transform: translate(-50%, -50%) scale(1);
        }
        .radio__input.is-checked .radio__inner {
          border-color: #409eff;
          background: #409eff;
        }
      }
      .left {
        position: absolute;
        left: 30 * @rem;
      }
      .right {
        position: absolute;
        right: 30 * @rem;
      }
    }
    .btn {
      width: 656 * @rem;
      height: 80 * @rem;
      text-align: center;
      line-height: 80 * @rem;
      margin: 0 auto;
      display: block;
      background: #16a1e0 !important;
      -webkit-border-radius: 8px;
      margin-bottom: 30 * @rem;
      font-family: PingFangSC-Regular;
      .fontSize(14px);
      color: #ffffff;
      a {
        display: inline-block;
        height: 100%;
        width: 100%;
        color: #ffffff;
      }
    }
  }

}
.footer	{
  position: absolute;
  bottom: 0 * @rem;
  width: 750 * @rem;
  height: 160 * @rem;
  background: #333;
  color: #fff;
  text-align: center;
  padding-top: 20 * @rem;
  p {
    margin: 5px 0;
    .fontSize(12px);
    line-height: 35 * @rem;
  }
}


.toast {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 400 * @rem;
  height: 86 * @rem;
  background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 10px;
  text-align: center;
  font-family: PingFangSC-Regular;
  .fontSize(13px);
  color: #ffffff;
  letter-spacing: 0;
  line-height: 86 * @rem;
  z-index: 20000;
}